package com.service.scheduling.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.service.dao.enums.CommonStatusEnums;
import com.service.dao.mapper.MemberWalletMapper;
import com.service.dao.model.MemberWallet;
import com.service.scheduling.service.MemberWalletService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年09月21日</dd>
 * </dl>
 *
 * @author
 */
@Slf4j
@Service
public class MemberWalletServiceImpl extends ServiceImpl<MemberWalletMapper, MemberWallet> implements MemberWalletService {


    @Override
    public List<String> getMemberDepositAddress(List<Integer> memberIds) {
        return baseMapper.selectAddrsByUids(1,memberIds,CommonStatusEnums.ACTIVE.getCode());
    }
}
